PayWithAmazon\IpnHandler S

Total Complexity 43
Dependencies 2
Dependents 0
Total lines 397
Lines of code 193
Logical lines of code 115
Comment lines 97
Methods 18
Properties 8

Methods 18

Method Rating Maintainability Complexity Lines of code
verifySignatureIsCorrectFromCertificate()
S
51 6 25
checkForCorrectMessageType()
S
52 6 24
getErrorMessageForJsonError()
S
57 5 19
checkConfigKeys()
S
62 3 11
__construct()
S
56 2 19
validateHeaders()
S
66 3 8
getField()
S
69 2 7
__set()
S
67 2 7
__get()
S
67 2 7
getMessage()
S
65 2 8
constructAndVerifySignature()
S
64 2 9
getMandatoryField()
S
68 2 7
getRemainingIpnFields()
S
63 1 11
returnMessage()
S
78 1 3
toJson()
S
68 1 7
toArray()
S
67 1 8
simpleXmlObject()
S
66 1 8
getCertificate()
S
73 1 5